package com.jie.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel("私聊消息DTO")
public class PrivateMessageDTO {

    @ApiModelProperty(value = " 消息id")
    private Long id;

    @ApiModelProperty(value = " 发送者id")
    private Long senderId;

    @ApiModelProperty(value = " 接收者id")
    private Long receiverId;

    @ApiModelProperty(value = " 发送内容")
    private String context;

    @ApiModelProperty(value = "消息内容类型 IMCmdType")
    private Integer contextType;

    @ApiModelProperty(value = " 状态")
    private Integer state;

    @ApiModelProperty(value = " 发送时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "送达时间")
    private LocalDateTime updateTime;
}
